package com.base.service.FM.impl;

import com.base.mapper.voipmapper.FmLevelMapper;
import com.base.po.voip.fm.FmLevel;
import com.base.po.voip.fm.FmLevelExample;
import com.base.service.FM.FmLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("FmLevelService")
public class FmLevelServiceImpl implements FmLevelService {
    @Autowired
    FmLevelMapper fmLevelMapper;
    @Override
    public int countByExample(FmLevelExample example) {
        return fmLevelMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(FmLevelExample example) {
        return fmLevelMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return fmLevelMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FmLevel record) {
        return fmLevelMapper.insert(record);
    }

    @Override
    public int insertSelective(FmLevel record) {
        return fmLevelMapper.insertSelective(record);
    }

    @Override
    public List<FmLevel> selectByExample(FmLevelExample example) {
        return fmLevelMapper.selectByExample(example);
    }

    @Override
    public FmLevel selectByPrimaryKey(Integer id) {
        return fmLevelMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(FmLevel record, FmLevelExample example) {
        return fmLevelMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(FmLevel record, FmLevelExample example) {
        return fmLevelMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(FmLevel record) {
        return fmLevelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FmLevel record) {
        return fmLevelMapper.updateByPrimaryKey(record);
    }

    @Override
    public FmLevel selectBySubId(String id) {
        return fmLevelMapper.selectBySubId(id);
    }
}
